package com.reason.user.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author yulongjun
 * @date 2020/6/29 8:15 下午
 */
@TableName("reason_lifestyle")
public class LifeStyle  implements Serializable {
    /**
     *用户生活方式表id
     */
    @Id
    @JsonFormat(shape = JsonFormat.Shape.STRING)//防止丢失精度
    private Long id;
    /**
     *是否饮酒
     */
    private String drink;
    /**
     *饮食习惯
     */
    private String dict;
    /**
     *逛街购物情况
     */
    private String shopping;
    /**
     *作息时间
     */
    private String rest;
    /**
     *宗教
     */
    private String religious;
    /**
     *交际圈子
     */
    private String communication;
    /**
     *家务
     */
    private String housework;
    /**
     *宠物
     */
    private String pets;
    /**
     *吸烟
     */
    private String smoke;
    /**
     *锻炼
     */
    private String exercise;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDrink() {
        return drink;
    }

    public void setDrink(String drink) {
        this.drink = drink;
    }

    public String getDict() {
        return dict;
    }

    public void setDict(String dict) {
        this.dict = dict;
    }

    public String getShopping() {
        return shopping;
    }

    public void setShopping(String shopping) {
        this.shopping = shopping;
    }

    public String getRest() {
        return rest;
    }

    public void setRest(String rest) {
        this.rest = rest;
    }

    public String getReligious() {
        return religious;
    }

    public void setReligious(String religious) {
        this.religious = religious;
    }

    public String getCommunication() {
        return communication;
    }

    public void setCommunication(String communication) {
        this.communication = communication;
    }

    public String getHousework() {
        return housework;
    }

    public void setHousework(String housework) {
        this.housework = housework;
    }

    public String getPets() {
        return pets;
    }

    public void setPets(String pets) {
        this.pets = pets;
    }

    public String getSmoke() {
        return smoke;
    }

    public void setSmoke(String smoke) {
        this.smoke = smoke;
    }

    public String getExercise() {
        return exercise;
    }

    public void setExercise(String exercise) {
        this.exercise = exercise;
    }
}
